home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.19950329-19950528
/
000220_news@columbia.edu_Mon Apr 24 14:22:14 1995.msg
< prev
next >
Wrap
Internet Message Format
|
1995-07-31
|
4KB
Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA01821
(5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Mon, 24 Apr 1995 18:25:32 -0400
Received: by apakabar.cc.columbia.edu id AA11136
(5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Mon, 24 Apr 1995 18:25:29 -0400
Newsgroups: comp.protocols.kermit.misc
Path: news.columbia.edu!news.cs.columbia.edu!news.nyc.pipeline.com!psinntp!nntp.hk.super.net!news.ust.hk!apang
From: apang@cs.ust.hk (Albert PANG)
Subject: How To read/write Chinese at a remote host using UNIX C-Kermit
Message-Id: <1995Apr24.142214.28377@uxmail.ust.hk>
Sender: usenet@uxmail.ust.hk
Nntp-Posting-Host: cssu81.cs.ust.hk
Organization: The Hong Kong University of Science and Technology
X-Newsreader: TIN [version 1.2 PL2]
Date: Mon, 24 Apr 1995 14:22:14 GMT
Lines: 84
Apparently-To: kermit.misc@watsun.cc.columbia.edu
How to read/write Chinese at a remote host using UNIX C-Kermit
==============================================================
Software required:
-----------------
1) cxterm
2) kermit
'cxterm' is available at anonymous ftp
ftp://cs.purdue.edu:/pub/ygz/cxterm-??.??.??.tar.Z
Linuxers can also get a binary version on Linux at
ftp://sunsite.unc.edu:/pub/Linux/X11/xutils/terms/cxterm-??.tar.gz
C-Kermit 5A for your version of UNIX is available from
ftp://kermit.columbia.edu/kermit/archives/cku190.tar.{Z,gz}
Setup procedure:
----------------
1. Make sure you have cxterm properly installed
and can display/write Chinese characters in your local host.
To get cxterm properly installed, the FAQ for cxterm, which is available
at anonymous ftp:
cs.purdue.edu:/pub/ygz/CXTERM.FAQ
will be helpful.
There are currently a few encoding methods for Chinese characters.
They are Big5, GB and HZ. In HK and Taiwan, Big5 is more popular
and in Mainland China, GB and HZ are more popular. 'cxterm' can
be configured to support all of them. Anyway, this will not be
relevant to kermit, as long as they are 8-bit code. 'cxterm'
configured to a particular encoding will recognize that encoding only.
2. Open a cxterm and run kermit.
3. Configure kermit. Before you connect your modem to kermit, you need
some parameter settings:
set parity none
set command bytesize 8
set terminal bytesize 8
set terminal character-set transparent
Then connect as usual and log in to your remote host.
4. At your remote host, set the terminal to allow 8-bit character by
UNIX-Prompt> stty pass8
This example works on SunOS, but the syntax might differ for other UNIX
systems, for example "stty cs8" or "stty -parity". On non-UNIX systems
use the appropriate command (like "set terminal /eightbit" on VMS).
If you don't do this, you can still read Chinese, but you can't type,
since your terminal will truncate the highest bit of your code. (unless
of course, your terminal has already been configured)
You might like to include the above line in your shell rc script,
so that you won't have to type it in every time you log in.
5. Voila! You should now be able to read/write Chinese
in your cxterm. Go get a cup of tea or something and try read some
Chinese newsgroups.
alt.chinese.txt.big5
alt.chinese.txt
tw.bbs.talk.joke
Make sure you have the right kind of cxterm. cxterm configured
to read Big5 will not recognize a passage written in GB, and vice
versa.
And for information about how to read/write Chinese using MS-DOS Kermit,
see "Circumnavigating the Web" in Kermit News #6:
ftp://kermit.columbia.edu/kermit/e/newsn6.{txt,ps}
http://www.columbia.edu/kermit/newsn6.html